/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package hoja4;

import javax.swing.JFrame;

/**
 *
 * @author AKBAL
 */
public class SinglentonDesignPattern extends JFrame{
    
    private static SinglentonDesignPattern unicainstancia;
    
    private SinglentonDesignPattern(){
    
    new CalculadoraFrame();
    }
    
    public static SinglentonDesignPattern getinstancia(){
    if(unicainstancia==null){
    unicainstancia = new SinglentonDesignPattern();
    
    }
    return unicainstancia;
    }
}
